package com.ly.order.service.impl;

import com.ly.order.mapper.TransactionLogMapper;
import com.ly.order.service.TransactionLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TransactionLogServiceImpl implements TransactionLogService {


    @Autowired
    private TransactionLogMapper transactionLogMapper;

    @Override
    public int inertTransaction(String transactionId) {
        return transactionLogMapper.inertTransaction(transactionId);
    }

    @Override
    public int getTransactionId(String transactionId) {
        return transactionLogMapper.getTransactionId(transactionId);
    }
}
